package com.eastfair.auth.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 实体类
 * 华为账号对接实体
 * </p>
 *
 * @author ligang
 * @since 2022-07-12
 */
@Data
public class HuaWeiAccountDTO implements Serializable {

    private static final long serialVersionUID = 1L;
//        {
//        "iamRequestId":"11928d12ec8a4c1bb75283b8df71308d",
//            "iamRemoteUser": "IAMadmin",
//            "iamRemotePwd": "password",
//            "loginName":"zhangsan",
//            "orgId": "D01-0110-0110654",
//            "role":["11",”22”],
//        "fullName":"张三",
//            "password": null,
//        "status": 0
//    }


//    {"country":null,"fingerCode":null,"sorgId":null,"keyhandle":null,"mail":null,
//            "nation":null,"eyekeyIrisCode":null,"employeeNumber":null,
//            "changePwdAt":"2023-01-03 16:28:35","pwdPolicy":"30","password":null,"loginInterceptFlagThree":0,
//            "loginName":"zhangsan","eyekeyCrowdId":null,"orgNumber":"HZJT","orgNamePath":"/会展集团2/",
//            "givenName":null,"loginInterceptFlagOne":0,"certSn":null,"firstName":null,"orgCodePath":"/HZJT/",
//            "otpKey":null,"departmentNumber":null,"spNameList":["PVENUE"],"lastName":null,
//            "updateDate":"2023-01-03 16:28:35","eyekeyFaceCode":null,"gender":null,"loginType":null,
//            "fidoReginfo":null,"accountName":null,"displayName":"张三","positionNumber":null,"title":null,
//            "loginInterceptFlagTwo":0,"loginInterceptFlagFour":0,"spRoleList":["zhangsan"],
//        "uid":"20230103161930020-624C-38657F0F9","loginInterceptFlagFive":0,"identityNumber":null,"identityType":null,
//            "fingerCodeTZ":null,"secAccValid":1,"pinyinShortName":null,"veinCode":null,"eyekeyFingerCode":null,
//            "wechatNo":null,"eyekeyPeopleId":null,"passwordModifyRequired":0,"birthDay":"2023-01-03 16:29:24",
//            "mobile":null,"employeeType":null,"positionStatus":null,"certDn":null,"isPassRemind":1}




    @ApiModelProperty(value = "随机ID")
    private String iamRequestId;

    /**
     * 授权账号
     */
    @ApiModelProperty(value = "授权账号")
    private String iamRemoteUser;
    /**
     * 接口的密码
     */
    @ApiModelProperty(value = "接口的密码")
    private String iamRemotePwd;



    @ApiModelProperty(value = "用户主键id")
    private String uid;

    /**
     * 账号登录名
     */
    @ApiModelProperty(value = "账号登录名")
    private String loginName;
    /**
     * 组织id
     */
    @ApiModelProperty(value = "组织id")
    private String orgId;
//    /**
//     * 是否全量数据 1是0否
//     */
//    @ApiModelProperty(value = "角色集合")
//    private List<String> role;
    /**
     * 真实姓名
     */
    @ApiModelProperty(value = "真实姓名")
    private String fullName;
    /**
     * 组织id(查看)
     */
    @ApiModelProperty(value = "状态 1无效 0有效")
    private Integer status;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "roleId")
    private List<String> roleId;
}
